/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.capex.javacore.padre;

/**
 *
 * @author Acer
 */
public class Rectangulo extends FiguraAbstracta {

    @Override
    public double calcularArea(double area) {
        return 1;
    }

    public double calcularArea(double ladoA, double ladoB){
        super.area = ladoA*ladoB;
        return ladoA*ladoB;
    }


}
